-- CALC_TV_BONUS_IN_DUNGEON

-- 计算迷宫中收看广告的奖励
return function()
    -- 从如下属性中随机抽取一个
    local attriList = { {2, "attack", 1},  {2, "magic", 1},
                            {2, "dodge", 3}, };

    local rand = DungeonM.getRandSeed("CALC_TV_BONUS_IN_DUNGEON");

    local index = rand % #attriList + 1;

    return attriList[index];
end
